#ifndef XINDEXBUFFER
#define XINDEXBUFFER
#include "XObject.h"
class XM_ENTRY XIndexBuffer : public XObject{
protected:
	UINT u_size;
public:
	virtual void SetIndexBuffer(XIndexBuffer* ptr_indexbuffer)=0;
	virtual void SetSourceBuffer(void* ptr_buffer, int i_offest, int i_size) = 0;
	virtual void GetSourceBuffer(void** ptr_buffer)=0;
	//virtual void* GetBaseIndexBuffer() = 0;
	virtual void SetSize(UINT size){ u_size = size; };
	virtual UINT GetSize(){ return u_size; };
};
#endif